package com.zy.algorithm.v3.sort

import com.zy.view.DIYSortView
import com.zy.utils.data.Point

//桶排序
class BucketSortFragment : BaseV3SortFragment() {

    override fun setSortData(diyV4: DIYSortView) {
        val array = intArrayOf(900, 800, 600, 500, 300, 100, 200, 400, 700)
        diyV4.setD(200)
        diyV4.create(2, 1, array, Point.Type.DEFAULT)
        //diy_v4.addAss(d, 2, 1, "V", per);
        //val assistArray = intArrayOf(1, 2, 3)
        diyV4.addNoMoveAssistNode(3, 4, "1")
        diyV4.addNoMoveAssistNode(6, 4, "2")
        diyV4.addNoMoveAssistNode(9, 4, "3")
    }
}